package day6;

import java.util.Scanner;

public class ScannerPlusTwo {
    public static void main(String[] args) {
        Scanner num1 = new Scanner(System.in);
        System.out.println("请输入第一个整数");
        int a = num1.nextInt();
        System.out.println("请输入第二个整数");
        int b = num1.nextInt();
        int equal = a + b;
        System.out.println("两个数字和为" + equal);
    }
}
